package com.buyingtickets.entity;

/**
 * 路线模型
 * @author bwj
 * @date 2021/6/24 9:09
 */
public class Route {
    /**
     * 列车名
     */
    private String trainname;
    /**
     * 列车类型
     */
    private int traintype;
    /**
     * 出发时间
     */
    private String date;
    /**
     * 车厢排数
     */
    private int row;
    /**
     * 车厢列数
     */
    private int col;
    /**
     * 里程价格
     */
    private int price;
    /**
     * 站点
     */
    private String site;
    /**
     * 车厢个数
     */
    private int carriagenum;

    @Override
    public String toString() {
        return "Route{" +
                "trainname='" + trainname + '\'' +
                ", traintype=" + traintype +
                ", date='" + date + '\'' +
                ", row=" + row +
                ", col=" + col +
                ", price=" + price +
                ", site='" + site + '\'' +
                ", carriagenum=" + carriagenum +
                '}';
    }

    public String getTrainname() {
        return trainname;
    }

    public void setTrainname(String trainname) {
        this.trainname = trainname;
    }

    public int getTraintype() {
        return traintype;
    }

    public void setTraintype(int traintype) {
        this.traintype = traintype;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public int getCol() {
        return col;
    }

    public void setCol(int col) {
        this.col = col;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public int getCarriagenum() {
        return carriagenum;
    }

    public void setCarriagenum(int carriagenum) {
        this.carriagenum = carriagenum;
    }
}